import Const from './Const.js'

export default {
  /**
   * @description 获取日志列表，带分页
   * @param {Object} params
   * pageNo,pageSize,deviceCode
   */
  logList (params) {
    return Const.post('web/api/getExceptionLog', params)
  },

  deviceList () {
    return Const.post('web/api/getAllDeviceList')
  },
  stationList () {
    return Const.get('web/api/getDeviceList')
  }
}
